package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2023/12/28 8:56
 * @Version 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String departName;

    private String departAddress;

    @TableField(exist = false)
    private String employeeName;

}
